package test.run;

import cn.leida.base.cmd.RunCmdUtil;
import cn.leida.ruoyi.common.utils.SecurityUtils;

import java.io.File;

public class RunAdminServer_8899 {

    public static void main(String[] args) {
        System.out.println("登录账号: admin  admin123");
        System.out.println("--------------数据库修改密码---------------");
        System.out.println(SecurityUtils.encryptPassword("admin123"));

        File appCodeDir = new File("leida-ui/jpa-base-ui-2025");
        String runProd = " start npm run dev";
        System.out.println("启动命令:   " + runProd);

        // 打开CMD窗口并执行命令
        RunCmdUtil.openCmd(appCodeDir, runProd);

    }

}